﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Quartz;

namespace Cl.Quartz.Jobs.Test
{
    internal class TestJob : IJob
    {
        public async Task Execute(IJobExecutionContext context)
        {
            await Task.Run(() =>
            {
                //接受参数
                var testA = 1 + 1;
                DateTime freeTime = context.JobDetail.JobDataMap.GetDateTime("FreeTime");
            });
        }
    }
}
